package com.epsoft.odin7cj.flow.bpo.activity;

import org.camunda.bpm.engine.history.HistoricActivityInstance;

public interface ActivityBPO {
	
	public HistoricActivityInstance getLastActivityInstance(String processInstanceId);
	
	public HistoricActivityInstance getFirstActivityInstance(String processInstanceId);
	
	// 获取前一个节点ID
	public String getPreActivityId(String currActivityId,String processDefinitionId);
	
	public String getInstanceIdForActivity(String processInstanceId, String activityId);
}
